package dfbz.com.model.toolmodel;

import java.util.List;

public class PageBean<T> {
    //总页数（总结果数/每页数据条数）
    private Integer totalPage;
    //数据库查询到的总结果数
    private Integer totalCount;
    //当前页码
    private Integer currentPage;
    //数据库查询到的当前页面的结果列表
    private List<T> list;
    //每页多少条信息
    private Integer row;


    public PageBean() {
    }

    public Integer getTotalPage() {
        return totalPage;
    }

    public void setTotalPage(Integer totalPage) {
        this.totalPage = totalPage;
    }

    public Integer getTotalCount() {
        return totalCount;
    }

    public void setTotalCount(Integer totalCount) {
        this.totalCount = totalCount;
    }

    public Integer getCurrentPage() {
        return currentPage;
    }

    public void setCurrentPage(Integer currentPage) {
        this.currentPage = currentPage;
    }

    public List<T> getList() {
        return list;
    }

    public void setList(List<T> list) {
        this.list = list;
    }

    public Integer getRow() {
        return row;
    }

    public void setRow(Integer row) {
        this.row = row;
    }

}
